<!DOCTYPE html>
<html>
<head>
	<meta charset="UTF-8" />
	<meta name="viewport" content="width=device-width, initial-scale=1.0" />
	<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" />

	<title>HDCMS建站利器 | 100%免费</title>
	
	<!-- bootstrap -->
	<link rel="stylesheet" type="text/css" href="<?php echo __ROOT__?>/public/centaurus/css/bootstrap/bootstrap.min.css" />
	
	<!-- RTL support - for demo only -->
	<script src="<?php echo __ROOT__?>/public/centaurus/js/demo-rtl.js"></script>
	
	<!-- libraries -->
	<link rel="stylesheet" type="text/css" href="<?php echo __ROOT__?>/public/centaurus/css/libs/font-awesome.css" />
	<link rel="stylesheet" type="text/css" href="<?php echo __ROOT__?>/public/centaurus/css/libs/nanoscroller.css" />

	<!-- global styles -->
	<link rel="stylesheet" type="text/css" href="<?php echo __ROOT__?>/public/centaurus/css/compiled/theme_styles.css" />

	<!-- this page specific styles -->
	<link rel="stylesheet" href="<?php echo __ROOT__?>/public/centaurus/css/libs/fullcalendar.css" type="text/css" />
	<link rel="stylesheet" href="<?php echo __ROOT__?>/public/centaurus/css/libs/fullcalendar.print.css" type="text/css" media="print" />
	<link rel="stylesheet" href="<?php echo __ROOT__?>/public/centaurus/css/compiled/calendar.css" type="text/css" media="screen" />
	<link rel="stylesheet" href="<?php echo __ROOT__?>/public/centaurus/css/libs/morris.css" type="text/css" />
	<link rel="stylesheet" href="<?php echo __ROOT__?>/public/centaurus/css/libs/daterangepicker.css" type="text/css" />
	<link rel="stylesheet" href="<?php echo __ROOT__?>/public/centaurus/css/libs/jquery-jvectormap-1.2.2.css" type="text/css" />
	
	<!-- Favicon -->
	<link type="image/x-icon" href="favicon.png" rel="shortcut icon" />

	<!--[if lt IE 9]>
		<script src="<?php echo __ROOT__?>/public/centaurus/js/html5shiv.js"></script>
		<script src="<?php echo __ROOT__?>/public/centaurus/js/respond.min.js"></script>
	<![endif]-->
	<base target="iframe"/>
	</head>
	<body class="theme-whbl pace-done">
		<div id="theme-wrapper">
			<header class="navbar" id="header-navbar">
				<div class="container">
					<a href="index.html" id="logo" class="navbar-brand">
						<img src="<?php echo __ROOT__?>/public/centaurus/img/logo.png" alt="" class="normal-logo logo-white"/>
					</a>

					<div class="clearfix">
						<button class="navbar-toggle" data-target=".navbar-ex1-collapse" data-toggle="collapse" type="button">
							<span class="sr-only">Toggle navigation</span>
							<span class="fa fa-bars"></span>
						</button>

						<div class="nav-no-collapse navbar-left pull-left hidden-sm hidden-xs">
							<ul class="nav navbar-nav pull-left">
								<li>
									<a class="btn" id="make-small-nav">
										<i class="fa fa-bars"></i>
									</a>
								</li>
							</ul>

							<!--应用集-->
							<?php foreach ($topMenu as $k=>$v){?>
								<ul class="nav navbar-nav pull-right">
									<li class="dropdown profile-dropdown">
										<a href="<?php echo $v['url']?>" class="dropdown-toggle" data-toggle="dropd1own" target="_top">
											<?php echo $v['title']?>
										</a>
									</li>
								</ul>
							<?php }?>
							<!--应用集-->
						</div>

						<div class="nav-no-collapse pull-right" id="header-nav">

							<ul class="nav navbar-nav pull-right">

								<li class="dropdown profile-dropdown">
									<a href="#" class="dropdown-toggle" data-toggle="dropdown">
										<img src="<?php echo Api('User/getIcon')?>" alt=""/>
										<span class="hidden-xs"><?php echo Api('User/getUsername',array($_SESSION['id']))?></span> <b class="caret"></b>
									</a>
									<ul class="dropdown-menu">

										<li><a href="<?php echo U('Login/quit')?>"><i class="fa fa-power-off"></i>退出</a></li>
									</ul>
								</li>
								<li class="hidden-xxs">
									<a class="btn" href="<?php echo U('Login/quit')?>">
										<i class="fa fa-power-off"></i>
									</a>
								</li>
							</ul>
							<ul class="nav navbar-nav pull-right">
								<li class="dropdown profile-dropdown">
									<a href="<?php echo U('Cms/Cache/index')?>" class="dropdown-toggle" data-toggle="dropd1own">
									更新缓存
									</a>
								</li>
							</ul>

						</div>
					</div>
				</div>
			</header>

			<div id="page-wrapper" class="container">
				<div class="row">
					<div id="nav-col">
						<section id="col-left" class="col-left-nano">
							<div id="col-left-inner" class="col-left-nano-content">
								<div class="collapse navbar-collapse navbar-ex1-collapse" id="sidebar-nav">	
									<ul class="nav nav-pills nav-stacked">
										<?php 
										$id=0;
										?>
										<?php foreach ($menu as $k=>$m){?>
											<?php if(!$m['show']){continue;}?>
											<li>
												<a href="javascript:;" class="dropdown-toggle">
													<i class="fa <?php echo $icon[$id++];?>"></i>
													<span><?php echo $m['title']?></span>
													<i class="fa fa-chevron-circle-right drop-icon"></i>
												</a>
												<ul class="submenu">
													<?php if(isset($m['_SUB_'])){?>
                
														<?php foreach ($m['_SUB_'] as $d=>$n){?>
															<li>
																<a href="<?php echo $n['url']?>" target="iframe">
																	<?php echo $n['title']?>
																</a>
															</li>
														<?php }?>
													
               <?php }?>
												</ul>
											</li>
										<?php }?>
									</ul>
								</div>
							</div>
						</section>
					</div>
					<div id="content-wrapper" style="padding:0px;overflow-y:auto;min-height:600px;background:#e8ebf2;">
						<iframe src="<?php echo U('welcome')?>" name="iframe" id="iframe" frameborder="0" ></iframe>
					</div>
				</div>
			</div>
		</div>
		<script src="<?php echo __ROOT__?>/public/centaurus/js/demo-skin-changer.js"></script> <!-- only for demo -->

		<script src="<?php echo __ROOT__?>/public/centaurus/js/jquery.js"></script>
		<script src="<?php echo __ROOT__?>/public/centaurus/js/bootstrap.js"></script>
		<script src="<?php echo __ROOT__?>/public/centaurus/js/jquery.nanoscroller.min.js"></script>

		<script src="<?php echo __ROOT__?>/public/centaurus/js/demo.js"></script> <!-- only for demo -->

		<!-- this page specific scripts -->
		<script src="<?php echo __ROOT__?>/public/centaurus/js/jquery-ui.custom.min.js"></script>
		<script src="<?php echo __ROOT__?>/public/centaurus/js/fullcalendar.min.js"></script>
		<script src="<?php echo __ROOT__?>/public/centaurus/js/jquery.slimscroll.min.js"></script>
		<script src="<?php echo __ROOT__?>/public/centaurus/js/raphael-min.js"></script>
		<script src="<?php echo __ROOT__?>/public/centaurus/js/morris.min.js"></script>
		<script src="<?php echo __ROOT__?>/public/centaurus/js/moment.min.js"></script>
		<script src="<?php echo __ROOT__?>/public/centaurus/js/daterangepicker.js"></script>
		<script src="<?php echo __ROOT__?>/public/centaurus/js/jquery-jvectormap-1.2.2.min.js"></script>
		<script src="<?php echo __ROOT__?>/public/centaurus/js/jquery-jvectormap-world-merc-en.js"></script>
		<script src="<?php echo __ROOT__?>/public/centaurus/js/gdp-data.js"></script>
		<script src="<?php echo __ROOT__?>/public/centaurus/js/flot/jquery.flot.js"></script>
		<script src="<?php echo __ROOT__?>/public/centaurus/js/flot/jquery.flot.min.js"></script>
		<script src="<?php echo __ROOT__?>/public/centaurus/js/flot/jquery.flot.pie.min.js"></script>
		<script src="<?php echo __ROOT__?>/public/centaurus/js/flot/jquery.flot.stack.min.js"></script>
		<script src="<?php echo __ROOT__?>/public/centaurus/js/flot/jquery.flot.resize.min.js"></script>
		<script src="<?php echo __ROOT__?>/public/centaurus/js/flot/jquery.flot.time.min.js"></script>
		<script src="<?php echo __ROOT__?>/public/centaurus/js/flot/jquery.flot.threshold.js"></script>
		<script src="<?php echo __ROOT__?>/public/centaurus/js/jquery.countTo.js"></script>

		<!-- theme scripts -->
		<script src="<?php echo __ROOT__?>/public/centaurus/js/scripts.js"></script>
		<script src="<?php echo __ROOT__?>/public/centaurus/js/pace.min.js"></script>

		<style type="text/css">
			html{
				overflow: hidden;
			}
			iframe{
				width:100%;
				height:100%;
			}
		</style>
		<script type="text/javascript" language="javascript">
			$('#iframe').height($(window).height()-50);
		</script>
	</body>
	</html>
